package cn.gg.benchmark.test;
import java.util.Vector;

import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class MainExe extends MIDlet {
	private Suite test = null;

	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {

	}

	protected void pauseApp() {

	}

	protected void startApp() throws MIDletStateChangeException {
		test = new Suite();
		Vector suites = new Vector(5);
		Suite suite = null;
		for (int i = 0; i < 5; i++) {
			suite = new Suite();
			suite.setCotainer(test);
			suites.addElement(suite);
			suite = null;
		}
		test.setCases(suites);
		suites = null;
		test.execute();
	}
}
